﻿using System;
using System.Windows.Forms;

namespace OrderSystem
{
    public partial class FormNotifier : Form
    {
        public FormNotifier()
        {
            this.InitializeComponent();
        }

        private void lbl_ClientSizeChanged(object sender, EventArgs e)
        {
            base.Width = this.lbl.Width + 4;
            base.Height = this.lbl.Height + 4;
        }

        private void lbl_Click(object sender, EventArgs e)
        {
            base.Hide();
        }

        private void FormNotifier_Click(object sender, EventArgs e)
        {
            base.Hide();
        }

        private void FormNotifier_Leave(object sender, EventArgs e)
        {
        }

        private void FormNotifier_Deactivate(object sender, EventArgs e)
        {
        }
    }
}
